<%@ page pageEncoding="UTF-8" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://"
          + request.getServerName() + ":" + request.getServerPort()
          + path + "/";
%>
<html>
<head>
  <title>沐言科技：www.yootk.com</title>
  <base href="<%=basePath%>">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <link rel="icon" href="images/favicon.ico" type="image/x-icon" />
  <script type="text/javascript" src="jquery/jquery.min.js"></script>
  <script type="text/javascript" src="jquery/jquery.validate.min.js"></script>
  <script type="text/javascript" src="jquery/additional-methods.min.js"></script>
  <script type="text/javascript" src="jquery/Message_zh_CN.js"></script>
  <script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="bootstrap/js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
  <script type="text/javascript" src="bootstrap/js/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
  <link href="bootstrap/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
  <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css" />
  <script type="text/javascript" src="js/index.js"></script>
</head>
<body>
<div class="container">
  <div class="panel panel-danger">
    <div class="panel-heading">
      <strong><img src="images/logo.png" style="height: 30px;">&nbsp;设备数据导入</strong>
    </div>
    <div class="panel-body">
      <form action="import.action" class="form-horizontal" id="myform" method="post" enctype="multipart/form-data">
        <fieldset>
          <div class="form-group" id="fileDiv">
            <label class="col-md-2 control-label" for="file">数据文件：</label>
            <div class="col-md-5">
              <input type="file" name="file" id="file" class="form-control input-sm" placeholder="请选择要上传的数据文件">
            </div>
            <div class="col-md-4" id="fileMsg">*</div>
          </div>
          <div class="form-group">
            <div class="col-md-offset-2 col-md-5">
              <button type="submit" class="btn btn btn-primary"><span class="glyphicon glyphicon-open"/>&nbsp;上传</button>
              <button type="reset" class="btn btn btn-warning"><span class="glyphicon glyphicon-retweet"/>&nbsp;重置</button>
            </div>
          </div>
        </fieldset>
      </form>
    </div>
    <div class="panel-footer">
      <div style="text-align:right;">
        <strong>沐言科技（www.yootk.com） —— 新时代软件教育领导品牌</strong>
      </div>
    </div>
  </div>
</div>
</body>
</html>
